package biz.impl;

import java.util.List;
import java.util.Map;

import dao.XinchoubiaozhunDao;

import entity.Xinchoubiaozhun;
import entity.Xinchoumingxi;
import biz.XinchoubiaozhunBiz;

public class XinchoubiaozhunBizImpl implements XinchoubiaozhunBiz {
	private XinchoubiaozhunDao xinchoubiaozhunDao;

	public List<Xinchoubiaozhun> findAll() {
		return xinchoubiaozhunDao.findAll();
	}

	public XinchoubiaozhunDao getXinchoubiaozhunDao() {
		return xinchoubiaozhunDao;
	}

	public void setXinchoubiaozhunDao(XinchoubiaozhunDao xinchoubiaozhunDao) {
		this.xinchoubiaozhunDao = xinchoubiaozhunDao;
	}

	public List<Xinchoubiaozhun> findXinchoubiaozhunByCondition(Map map,
			Integer pageNo, Integer size) {
		return xinchoubiaozhunDao.findXinchoubiaozhunByCondition(map, pageNo, size);
	}

	public void addXinchoubiaozhun(Xinchoubiaozhun xcbz) {
		xinchoubiaozhunDao.addXinchoubiaozhun(xcbz);
	}

	public void addXinchoumingxi(Xinchoumingxi xcmx) {
		xinchoubiaozhunDao.addXinchoumingxi(xcmx);
	}

	public Xinchoubiaozhun findXinchoubiaozhunById(Long id) {
		return xinchoubiaozhunDao.findXinchoubiaozhunById(id);
	}

	public Xinchoumingxi findXinchoumingxiById(Long id) {
		return xinchoubiaozhunDao.findXinchoumingxiById(id);
	}

	public void updateXinchoubiaozhun(Xinchoubiaozhun xcbz) {
		xinchoubiaozhunDao.updateXinchoubiaozhun(xcbz);
	}

	public void updateXinchoumingxi(Xinchoumingxi xcmx) {
		xinchoubiaozhunDao.updateXinchoumingxi(xcmx);
	}

	public void delXinchoubiaozhun(Long id) {
		xinchoubiaozhunDao.delXinchoubiaozhun(id);
	}

	public void delXinchoumingxi(Long id) {
		xinchoubiaozhunDao.delXinchoumingxi(id);
	}
	
	
}
